{%extends "index.html"%}
{% load i18n %}  


{%block extra-scripts%}
    <script type="text/javascript" charset="utf-8"> 
        (function($) {
            $(document).ready(function() {
                
				var l_add = {%url main.views.add%}
                $('body').change_list();
            });
        })(django.jQuery);
    </script> 
{%endblock%}

		{%block content%}

	<p>
			<div class="module changelist-filters main_toolbar">

				<div class="module pagination">
					<ul class="pagination">
						<li class="results">
			<!--<img src='/media/img/icons/icon-inline_item_tools-addhandler-hover.png'>-->
			<form id="smart" action="{%url main.views.add%}" method="post">
{% csrf_token %}
			<input type="text" id="smart_input" name="smart_input" value='Add new entity'>
        <button type="submit" value="" class="smart_add">&nbsp;</button>
        
    </form>
						</li>
				</ul>
				<br clear="all">
			</div>
                    <div id="filters" class="module filter span-6">
                        <div class="pulldown-container">
                            <a href="javascript://" class="button toggle-filters">Filter</a>
                            <div class="filter-pulldown" style="display: none; ">
                                
<div class="filter">
    <label>staff status</label>
    <select class="filter_choice">
        <option value="?" selected="selected">All</option><option value="?is_staff__exact=1">Yes</option><option value="?is_staff__exact=0">No</option>
    </select>
</div>
<div class="filter">
    <label>superuser status</label>
    <select class="filter_choice">
        <option value="?" selected="selected">All</option><option value="?is_superuser__exact=1">Yes</option><option value="?is_superuser__exact=0">No</option>
    </select>
</div>
<div class="filter">
    <label>active</label>
    <select class="filter_choice">
        <option value="?" selected="selected">All</option><option value="?is_active__exact=1">Yes</option><option value="?is_active__exact=0">No</option>
    </select>
</div>
                            </div>
                        </div>
                    </div>
                    <div id="search" class="module search span-6">

    
    <!-- Search Form -->
    <form id="changelist-search" action="" method="get">
        <input type="text" name="q" id="searchbar" value="Search">
        <button type="submit" value="" class="search">&nbsp;</button>
        
    </form>

                    </div>
                
            
            <br clear="all">
        </div>	
		<div class="container-grid">

	{%include "navigation.html"%} 

       <div class="column span-14">
		   <div class="module">
			   {%block inside%}
			<h2>Notes</h2>
		<div class="module">
                <!--<h3>Controls</h3>-->
				<div>
					<p class='text'>
						What already work:
					</p>
						<ul class='text'>
							<li>Basic todo</li>
							<li>Basic links</li>
							<li>Trash</li>
							<li>Messages</li>
						</ul>
					{%include "lorem.html"%}
				</div>	
				{%endblock%}
			</div>
		</div>
{%block pagination%}
{%endblock%}
		</div>

		{%include "livecolumn.html"%} 

</div>
{%endblock%}
